Adobe Systems Incorporated [Navigation Bar]
What's New Products Solutions Studio Support & Service About Adobe Main Topics


INTRODUCTION
 
DEFINING THE PROBLEM
Recognizing Symptoms
Win95 Error Messages
 
RESPONDING TO ERRORS
 
TROUBLESHOOTING STEPS
Common Causes
Hardware Conflicts
Reinstall Application
Install New System
Consult Expert
 
WIN95 MAINTENANCE
Older Software
Managing Memory
Win95 Utilities
Registry


The Windows Registry

The Registry is a database used to catalog the resources used by Windows 95 and make them available to the system. It replaces the older Win.ini, Autoexec.bat, and System.ini files used in Windows 3.1 (although these files are still present for use with older software). The Registry consists of two hidden files in the Windows directory, System.dat and User.dat. System.dat is the database that contains all hardware- and software-specific information. Of the two, it is more important. User.dat contains the user-specific information that is used to maintain user profiles (e.g., mouse speed, wallpaper, color scheme, etc.).

The Registry is automatically updated whenever you make changes to your computer (e.g., installing new software or hardware). The Registry is also automatically backed up to the files User,da0 and System.da0 whenever you shut down Windows 95. Additionally, when Windows is first installed, a file called System.1st is written to the root directory of your startup drive (normally, the C: drive). This is a copy of the original System.dat file and will not reflect any changes or updates that you might make.

Backing Up the Registry
There are several ways to back up the Registry. The following is the safest and easiest:

  1. Choose Start > Programs > MS-DOS Prompt. The MS-DOS Prompt should display with the active prompt reading, C:\WINDOWS
  2. Type "regedit /l:c:\windows\system.dat /e c:\windows\system.xxx" and press Enter.

    NOTE: The file name extension for the exported file (here "*.xxx") can be anything you want (within the DOS 8.3 naming convention). It should reflect that the file is a back up, for example, *.bkp.

  3. Type "regedit /l:c:\windows\user.dat /e c:\windows\user.xxx" and press Enter.

In addition to the default back up files System.da0 and User.da0, as well as the System.1st file at the root level of your drive, you now have a back up file for each of your Registry files which you can use to restore your Registry in case it becomes corrupt or doesn't process correctly. Be sure to make new backups any time you change the system configuration (i.e., add new software or hardware).

Windows 95 will not run in Normal mode without the Registry. If the Registry is missing or damaged, Windows 95 will attempt to restore it with the backup files (System.da0 and User.da0). If Windows 95 cannot load because of Registry problems you should see a Fatal Exception Error when starting Windows. If this happens, you may be able to restore your Registry:

Restore from the System Backups

  1. Restart your computer and press the F8 key when you see the message "Starting Windows 95...."
  2. Choose option 7; "Safe Mode Command Prompt Only".
  3. Change to the Windows directory (e.g., c:\windows).
  4. Type "attrib -s -r -h system.dat" and press Enter.
  5. Type "attrib -s -r -h user.dat" and press Enter.

    NOTE: This changes these files' attributes so that they are no longer system files, read-only, or hidden.

  6. Type "ren system.dat system.bad" and press Enter.
  7. Type "ren user.dat user.bad" and press Enter.

    NOTE: This renames the old System.dat and User.dat files so they will no longer be accessed at startup.

  8. Restart your computer. Windows should restore the System.dat and User.dat files from the System.da0 and User.da0 backup files.

Restore the Registry from Your Personal Backups

NOTE: Prior to doing this you must have made backups other than the System.da0 and User.da0 files.

  1. Restart your computer and press the F8 key when you see the message "Starting Windows 95...".
  2. Choose option 7: "Safe Mode Command Prompt Only".
  3. Change to the Windows directory (e.g., c:\windows).
  4. Type "attrib -s -r -h system.dat" and press Enter.
  5. Type "attrib -s -r -h user.dat" and press Enter.

    NOTE: This changes these files' attributes so that they are no longer system files, read-only, or hidden and it can now be edited.

  6. Type "ren system.dat *.bad" and press Enter.
  7. Type "ren user.dat *.bad" and press Enter.

    NOTE: This renames the old System.dat and User.dat files so they will no longer be accessed at start up and will not be overwritten.

  8. Type "copy <system.dat backup> system.dat" and press Enter
  9. Type "copy <system.dat backup> user.dat" and press Enter

    NOTE: <system.dat backup> and <system.dat backup> stand for whatever you have named your back up files. This process copies them to new files named System.dat and User.dat.

  10. Type "attrib +s +r +h system.dat" and press Enter.
  11. Type "attrib +s +r +h user.dat" and press Enter.

    This sets the attributes of new files so they are read-only, hidden, system files.

  12. Restart your computer. Windows 95 will now access the new System.dat and User.dat files for the Registry.

If either method of restoring the Registry successfully resolves your system problem, you can delete the files you renamed "System.bad" and "User.bad".


Legal Notice

THIS DATABASE AND THE DOCUMENTS INCLUDED THEREIN (COLLECTIVELY, THE "DATABASE") ARE PROVIDED FOR THE CONVENIENCE AND PRIVATE, INTERNAL USE OF ADOBE'S CUSTOMERS ONLY. YOU MAY NOT COPY OR DISTRIBUTE ANY PORTION OF THIS DATABASE FOR ANY PURPOSE, EXCEPT THAT YOU MAY MAKE ONE PRINTED COPY OF PORTIONS OF THIS DATABASE FOR YOUR OWN PERSONAL, INTERNAL USE ONLY, PROVIDED THIS ENTIRE DISCLAIMER AND COPYRIGHT NOTICE IS INCLUDED ON SUCH COPY.

THE USER OF THE INFORMATION PROVIDED IN THIS DATABASE ASSUMES ALL RISK OF ITS ACCURACY AND FOR ITS USE. THIS DATABASE IS BEING PROVIDED "AS-IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. ALL OTHER LIMITATIONS ON LIABILITY CONTAINED IN THE APPLICABLE SOFTWARE PRODUCT END USER LICENSE AGREEMENT SHALL APPLY. ADOBE SYSTEMS INCORPORATED ASSUMES NO RESPONSIBILITY FOR ERRORS OR OMISSIONS IN THE DATABASE. THIS DATABASE MAY INCLUDE TECHNICAL OR OTHER INACCURACIES OR TYPOGRAPHICAL ERRORS, AND CHANGES MAY BE PERIODICALLY ADDED TO THE INFORMATION HEREIN.

ADOBE SYSTEMS INCORPORATED DOES NOT GUARANTEE THAT SOLUTIONS SUGGESTED IN THIS DATABASE WILL BE EFFECTIVE IN THE USER'S PARTICULAR SITUATION. IF THE USER IS NOT FAMILIAR WITH ANY OF THE STEPS LISTED IN THE SOLUTION, ADOBE ADVISES THAT THE USER DOES NOT PROCEED WITHOUT FIRST CONSULTING ADDITIONAL RESOURCES.


| Home |

Copyright © 1998 Adobe Systems Incorporated.
All rights reserved.
Legal notices and trademark attributions.